package cn.wl.hrm.util;

import cn.wl.hrm.vo.LoginInfo;
//用来存取登录的信息
public class UserContext {
    public static void setLoginInfo(LoginInfo loginInfo){
        //将登录之后的信息放进session中
        //使用req.getSession().setAttr设置LoginInfo
    }

    public static LoginInfo getLoginInfo(){
        return new LoginInfo(42L,"yhptest1",26L,"源码时代");
    }
}
